package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@TableName("bankuai")
@Data
public class Bankuai {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "dyId")
    private String dyId;
    @TableField(value = "scr")
    private String scr;
    @TableField(exist = false)
    private Dianying dianying;


    @TableField(value = "addtime")
    private Date addtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDyId() {
        return dyId;
    }

    public void setDyId(String dyId) {
        this.dyId = dyId;
    }

    public String getScr() {
        return scr;
    }

    public void setScr(String scr) {
        this.scr = scr;
    }

    public Dianying getDianying() {
        return dianying;
    }

    public void setDianying(Dianying dianying) {
        this.dianying = dianying;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtme(Date addtime) {
        this.addtime = addtime;
    }
}